package yns.springcloud.oakwood.guide.configure;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class Configure {

	@Value("${server.port}")
	private String port;
	
	@Value("${spring.cloud.config.server.git.uri}")
	private String springCloudConfigServerGitUri;
	
	@Value("${spring.cloud.config.server.git.search-paths}")
	private String springCloudConfigServerGitSearchPaths;
	
	@Value("${spring.cloud.config.server.git.basedir}")
	private String springCloudConfigServerGitBasedir;
	
//	@Value("${spring.cloud.config.label}")
//	private String springCloudConfigLabel;
	
	@Value("${spring.cloud.config.server.git.default-label}")
	private String springCloudConfigServerGitDefaultLabel;

	public String getPort() {
		return port;
	}

	public void setPort(String port) {
		this.port = port;
	}

	public String getSpringCloudConfigServerGitUri() {
		return springCloudConfigServerGitUri;
	}

	public void setSpringCloudConfigServerGitUri(String springCloudConfigServerGitUri) {
		this.springCloudConfigServerGitUri = springCloudConfigServerGitUri;
	}

	public String getSpringCloudConfigServerGitSearchPaths() {
		return springCloudConfigServerGitSearchPaths;
	}

	public void setSpringCloudConfigServerGitSearchPaths(String springCloudConfigServerGitSearchPaths) {
		this.springCloudConfigServerGitSearchPaths = springCloudConfigServerGitSearchPaths;
	}

	public String getSpringCloudConfigServerGitBasedir() {
		return springCloudConfigServerGitBasedir;
	}

	public void setSpringCloudConfigServerGitBasedir(String springCloudConfigServerGitBasedir) {
		this.springCloudConfigServerGitBasedir = springCloudConfigServerGitBasedir;
	}

	public String getSpringCloudConfigServerGitDefaultLabel() {
		return springCloudConfigServerGitDefaultLabel;
	}

	public void setSpringCloudConfigServerGitDefaultLabel(String springCloudConfigServerGitDefaultLabel) {
		this.springCloudConfigServerGitDefaultLabel = springCloudConfigServerGitDefaultLabel;
	}

//	public String getSpringCloudConfigLabel() {
//		return springCloudConfigLabel;
//	}
//
//	public void setSpringCloudConfigLabel(String springCloudConfigLabel) {
//		this.springCloudConfigLabel = springCloudConfigLabel;
//	}

}
